﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data;
using DAL;

namespace logic
{
    public class percentageDate
    {
        public static DataTable listWithSaleAndYear(int saleid, int year)
        {
            return PercentageDate.listWithSaleAndYear(saleid,year);
        }

        public static void insert(int saleid, int year, int adminid)
        {
            PercentageDate.insert(saleid, year, adminid);
        }

        public static bool isExist(int year,int saleid)
        {
            return PercentageDate.isExist(year,saleid);
        }
    }
}
